@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap');

html, body {
    scroll-padding-top: 40px;
    scroll-behavior: smooth;
}

:root {
    --text-1: #FFF;
    --background-1: #0C0C0C;
    --accent-1: #8A2BE2; 
    --box-1: #161616;
    --border-1: #313131;
    --shadow-1: 0px 4px 4px rgba(0, 0, 0, 0.25);
    --shadow-2: 0px 4px 4px #ef233b1c;
    --font-1: 'Poppins',sans-serif;
    --section-mw: 900px;
    --transition: 0.33s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: var(--font-1)
}

::selection {
    background: #ef233b2d;
    color: var(--accent-1);
}

body {
    background: var(--background-1);
    color: var(--text-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    height: 100vh;
}

.center {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section {
    width: 100%;
    max-width: var(--section-mw);
    padding: 0 25px;
}

#hero {
    max-height: 600px;
}

#hero .text {
    text-align: center;
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#hero .text h1 {
    font-weight: 600;
    font-size: 65px;
}

#hero .text p {
    font-weight: 400;
    font-size: 18px;
    opacity: 0.8;
}

.underline:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url(../images/underline-stroke.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#hero .text .button {
    text-decoration: none;
    color: var(--accent-1);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 26px;
    border: 2px solid var(--accent-1);
    border-radius: 30px;
    width: fit-content;
    user-select: none;
    margin-top: 10px;
    transition: var(--transition);
}

#hero .text .button span {
    color: var(--text-1);
}

#hero .text .button i {
    transition: var(--transition);
}

#hero .text .button:hover {
    background: var(--accent-1);
    transform: scale(1.05);
    box-shadow: var(--shadow-2);
}

#hero .text .button:hover i {
    color: var(--text-1);
}

#hero .text .button:active {
    transform: scale(1);
}

#header {
    width: calc(100% - 25px * 2);
    height: 70px;
    background: var(--box-1);
    border: 1px solid var(--border-1);
    box-shadow: var(--shadow-1);
    border-radius: 1000px;
    margin: 25px 0 0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
}

#header .links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#header .links .link {
    text-decoration: none;
    color: var(--text-1);
    font-weight: 500;
    font-size: 15px;
    user-select: none;
}

#header .links .link:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url(../images/underline-stroke.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    transition: var(--transition);
}

#header .links .link:hover:after {
    opacity: 1;
}

#header .discord {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

#header .discord .button {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    border-radius: 100%;
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
    text-decoration: none;
    padding: 5px;
    transition: var(--transition);
}

#header .discord .button:hover {
    background: var(--accent-1);
    color: var(--text-1);
    box-shadow: var(--shadow-2);
}

.section-title {
    text-align: center;
}

.section-title h1 {
    font-size: 32px;
}

.section-title h1.underline:after {
    bottom: -25px;
}

#whyus, #pricing, #reviews {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

#pricing .prices {
    display: flex;
    gap: 25px;
    width: 100%;
}

#pricing .price {
    background: var(--box-1);
    border: 1px solid var(--border-1);
    box-shadow: var(--shadow-1);
    padding: 18px;
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#pricing .price .gradient {
    --size: min(15vw, 200px);
    --top: 0;
    --right: calc(-0.5 * var(--size));
    --blur: calc(0.5 * var(--size));
    --opacity: 0.5;
    position: absolute;
    border-radius: calc(.5 * var(--size));
    background-color: var(--accent-1);
    background: radial-gradient(circle at center, var(--accent-1), var(--accent-1));
    width: var(--size);
    height: var(--size);
    top: var(--top);
    right: var(--right);
    filter: blur(var(--blur)) opacity(var(--opacity));
}

#pricing .price:last-child .gradient {
    left: var(--right);
}

#pricing .price:last-child .feature {
    flex-direction: row-reverse;
}

#pricing .price .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#pricing .price .top h1 {
    font-size: 36px;
    line-height: 1.2;
}

#pricing .price .top span {
    font-size: 13px;
    opacity: 0.8;
}

#pricing .price .features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#pricing .price .feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#pricing .price .feature i {
    color: var(--accent-1);
    font-size: 12px;
}

#pricing .price .feature p {
    font-size: 11px;
    opacity: 0.8;
}

#hero .text .purchase-button {
    margin-top: 15px;
}

.section {
    padding: 20px;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.purchase-button {
    padding: 15px 40px;
    text-align: center;
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    display: inline-block;
    margin-top: 20px;
    filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.671));
    color: white;
    
}

.purchase-button:hover {
    background-color: #ffffff00;
    color: white;
    transform: scale(1.05);
}

.purchase-button:active {
    transform: scale(1);
}

.icon-button {
    width: 90px; /* Square shape */
    height: 90px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 15px; /* Rounded corners */
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    background-size: 50%; /* Adjust as needed for icon size */
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.671));
    color: white;
}

.icon-button:hover {
    background-color: #892be200;
    color: white;
    transform: scale(1.05);
    background-image: none; /* Hide image on hover */
}

.icon-button:hover::after {
    content: attr(data-text);
    position: absolute;
    font-size: 18px;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.3s;
}

.icon-button:active {
    transform: scale(1);
}

.glowing-text {
    font-size: 1.2rem;
    color: #ffffff;
    margin-left: 10px;
    animation: glow 1.5s infinite alternate;
    filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.671));
    color: white;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #8A2BE2, 0 0 10px #8A2BE2, 0 0 20px #8A2BE2;
    }
    100% {
        text-shadow: 0 0 20px #8A2BE2, 0 0 30px #8A2BE2, 0 0 40px #8A2BE2;
    }
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #222222;
}

#hero .text h1 {
    font-size: 3.6rem;
    color: rgb(255, 255, 255);
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#hero .text p {
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
    margin-top: 5px; 
}


#main-header {
    background-color: #383838; 
    padding: 10px 20px;
    width: 100%;
    position: fixed; 
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #fffed6; 
    z-index: 1000; 
}

.header-title {
    font-size: 1.5rem; /* Adjust title size if needed */
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px; /* Adds spacing between username and buttons */
}

.purchase-button,
.logout-button,
.login-discord-button {
    margin-left: 10px; /* Adds spacing between buttons */
}

.discord-link {
    color: #8A2BE2; 
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.discord-link:hover {
    color: #6A1B9A; 
    transform: scale(1.05); 
}

#main-header .container {
    display: flex;
    justify-content: space-between; 
}

.login-discord-button {
    margin-left: auto; 
    text-decoration: none;
    color: #ffffff;
    background-color: #5865f2; 
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-left: 20px; 
}


#hero {
    margin-top: 60px; 
}


#main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px 20px;
    background-color: #222222; 
    color: white;
    font-size: 0.875rem; 
    font-weight: 400;
    width: 100%;
    text-align: left;
    z-index: 1000; 
    border-top: none; 
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem; /* Adjust icon size */
    color: #fff; /* Icon color */
    transition: color 0.3s;
}

.social-icon:hover {
    color: #8A2BE2; /* Hover color */
}


.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: #222222;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    display: none;
    max-width: 80%;
    text-align: center;
    opacity: 0;
    animation: popupFadeIn 0.5s forwards;
}
.popup h2 {
    color: #8A2BE2;
}
.popup p {
    font-size: 1.1em;
}
.popup .close-button {
    background-color: #8A2BE2;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 15px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    opacity: 0;
    animation: overlayFadeIn 0.5s forwards;
}

@keyframes popupFadeIn {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
@keyframes overlayFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.popup.fade-out {
    animation: popupFadeOut 0.5s forwards;
}
.popup-overlay.fade-out {
    animation: overlayFadeOut 0.5s forwards;
}
@keyframes popupFadeOut {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}
@keyframes overlayFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-icon {
    color: #8A2BE2;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
}

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1.5em;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}